﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;

namespace BLL
{
    public class Control
    {
        public static string getConn()
        {
            XmlDocument xml = new XmlDocument();
            xml.Load(@"Setting.xml");
            foreach (XmlNode x in xml.ChildNodes.Item(1).ChildNodes)
            {
                if (x.Name == "StringConn")
                {
                    return x.InnerText;
                }
            }
            return string.Empty;
        }
    }
}
